ofiles := $(patsubst %.cpp,%.o,$(wildcard *.cpp))


all: $(ofiles)
	g++ -g -Wall -shared -o se_storage.so $(ofiles) 
	ar rs se_storage.a *.o

%.o : %.cpp
	g++ -g -Wall -fpic -c $<

clean:
	-rm -f *.o .so
